package com.fxd.enums;

public enum RedisStreamEnum {

    FRUITS_PRODUCER_STREAM("FRUITS_PRODUCER_STREAM", "水果生产者"),

    FRUITS_CONSUMER_GROUP("FRUITS_CONSUMER_GROUP", "水果消费者组"),
    FRUITS_GROUP_CONSUMER1("FRUITS_GROUP_CONSUMER1", "水果消费者1"),
    FRUITS_GROUP_CONSUMER2("FRUITS_GROUP_CONSUMER2", "水果消费者2");

    private String value;
    private String desc;

    RedisStreamEnum(String value, String desc) {
        this.value = value;
        this.desc = desc;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
